<?php

class Language {
	
	public $id;
	
	public $menu;
	
	public function __construct($code) {
		$this->id = $code;
		$this->GetLang();
	}
	
	public function GetLang() {
		if (file_exists("lang/".$this->id.".php")) {
			require_once ("lang/".$this->id.".php");
		}
	}

	
}

?>